package org.misty.practices.algorithm.levenshtein;

import org.apache.commons.lang3.StringUtils;
import org.apache.commons.text.similarity.LevenshteinDistance;

/**
 * @author Misty on 2021-08-07
 */
public class StringUtilsTest {
    public static void main(String[] args) {
        LevenshteinDistance instance = LevenshteinDistance.getDefaultInstance();

        int d1 = instance.apply("ab", "bc");
        System.out.println(d1);
    }
}
